Skip to content

Refactor: simplify conditional expressions in Hyprland workspace module#4983

Open
B2krobbery wants to merge 1 commit intoAlexays:masterfrom
B2krobbery:refactor-bool-cleanup
Open

Refactor: simplify conditional expressions in Hyprland workspace module#4983
B2krobbery wants to merge 1 commit intoAlexays:masterfrom
B2krobbery:refactor-bool-cleanup

Conversation

@B2krobbery
Copy link
Copy Markdown
Contributor

@B2krobbery B2krobbery commented Apr 9, 2026

Refactor a few conditional expressions in the Hyprland workspace module by
extracting them into well-named boolean variables to improve readability.
This change makes the intent of the conditions clearer and slightly improves
maintainability without altering behavior.
Changes are limited to workspace.cpp and do not introduce any functional or
performance differences.

The changes were tested locally by building and running Waybar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant